﻿using System.Diagnostics.Contracts;

namespace System.Reactive.Concurrency
{
	public sealed class DefaultScheduler : LocalScheduler
	{
		public static DefaultScheduler Instance
		{
			get
			{
				Contract.Ensures(Contract.Result<DefaultScheduler>() != null, null, "Contract.Result<DefaultScheduler>() != null");
				return null;
			}
		}

		public override IDisposable Schedule<TState>(TState state, TimeSpan dueTime, Func<IScheduler, TState, IDisposable> action)
		{
			return null;
		}
	}
}